export const server = "http://yhdn.cn:5000"
export async function postRequest(url:string,param:object){

      const resp = await fetch(url,{
            method:"POST",
            headers:{
                "content-type":"application/json",
                },
            body:JSON.stringify(param)
      })

      return await resp.json()
}